
/* Clean up unnecessary styles and optimize for performance */
#root {
  max-width: 1280px;
  margin: 0 auto;
  /* Removed unnecessary padding that might interfere with layouts */
  text-align: center;
}

/* Optimize logo animations to use GPU */
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
  transform: translateZ(0); /* Force GPU acceleration */
}

.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg) translateZ(0);
  }
  to {
    transform: rotate(360deg) translateZ(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
    will-change: transform;
  }
}

/* Performance optimized styles */
.card {
  padding: 2em;
  transform: translateZ(0); /* Force GPU acceleration */
  will-change: transform;
}

.read-the-docs {
  color: #888;
}
